var _srcmenuitem, _destmenu;
_srcmenuitem = argument0;
_destmenu = argument1;
_srcmenuitem.menu = _destmenu;
ds_list_add(_destmenu.items, _srcmenuitem);
